package cn.edu.jxyy.p2.service.impl;

import cn.edu.jxyy.p2.dao.UserDao;
import cn.edu.jxyy.p2.service.UserService;

public class UserServiceImpl implements UserService {
       private UserDao userDao;

       public void setUserDao(UserDao userDao) {
           this.userDao = userDao;
       }

       @Override
       public boolean login(String name, String password) {
           return userDao.login(name, password);
       }
   }
